ObjectDescriptor.subscribePropertyChangeSnapshotRecorded Method

Subscribe a handler to the property change snapshot recorded event.
 

Parameters

callback

Type: Function
An event handler function to execute after a property was changed. Functions
 will be passed an event object including the following properties:
     propertyDescriptor  [type: dundas.PropertyDescriptor]           - The property descriptor defining the property that was changed.
     oldValue            [type: Object, mayBeNull: true]             - The previous value of the property.
     eventData               [type: Object]
         changedPropertyId   [type: String]                              - The ID of the property descriptor that was changed.
         beforeState         [type: String]                              - The adapter stringified as JSON before the property change.
 
unsubscribe

Type: Boolean
(Optional) True to unsubscribe the specified callback that was previously subscribed.
Optional: True